 **** OPEN STATA OUTPUT LOG FILE ****

log using "F:\Presidential Studies Quarterly Data Replication\Manuscript\Loyalty-Competence Tradeoffs.TABLE 1 & FIGURE 1 STATISTICS.09-23-2018.smcl"
 
 
 
 
 **** TABLE 1 AND FIGURE 1 STATISTICAL ANALYSIS [PLUS ANCILLARY TESTS DISCUSSED IN THE MANUSCRIPT] ******
 
    
 
**** OPEN "POLITICAL APPOINTMENTS" DATA SET ****
    
use "F:\Presidential Studies Quarterly Data Replication\Manuscript\Measurement Database.BGLTA MODEL 23FBIT.05-30-2015.subset of manifest indicator variables.09-23-2018.dta", clear

 
         
set more off 

 
 
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
 
 
 
 
*** STATISTICAL ANALYSIS FOR PRESIDENTIAL APPOINTMENT LOYALTY-COMPETENCE TRADEOFFS FOR U.S. FEDERAL AGENCY LEADERSHIP POSITIONS ***


 
*** TABLE 2: BIVARIATE CORRELATION ESTIMATES OF LOYALTY-COMPETENCE TRADEOFFS ****
 
 
** FULL SAMPLE **

pwcorr zloyalmedian zmecompmedian zpecompmedian, obs sig bonferroni


** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
 
* LOYALTY-MANAGERIAL VS. LOYLATY-POLICY COMPETENCE CORRELATION DIFFERENCE *

cortesti -0.437 1372 -0.122 1372


 
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
 
 
 
** BY ORGANIZATIONAL POSITION WITHIN AGENCY: [TOPLEVEL==1: ONLY FOR MAJOR AGENCY HEADS/CHAIRS; TOPLEVEL2==1: BOTH MAJOR AGENCY HEADS/CHAIRS, PLUS EXECUTIVE BUREAU/OFFICE HEADS] **
**                                           [TOPLEVEL==0: NON MAJOR AGENCY HEADS/CHAIRS; TOPLEVEL2==1: NEITHER MAJOR AGENCY HEADS/CHAIRS NOR EXECUTIVE BUREAU/OFFICE HEADS]
 
pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel==1, obs sig bonferroni 

pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel2==1, obs sig bonferroni 

pwcorr zloyalmedian zmecompmedian zpecompmedian if toplevel==0, obs sig bonferroni 



** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
 

* LOYALTY-MANAGERIAL COMPETENCE (TOPLEVEL DISTINCTION ONLY FOR MAJOR AGENCY HEADS) *
cortesti -0.246 311 -0.092 1061


* LOYALTY-MANAGERIAL COMPETENCE (TOPLEVEL2 DISTINCTION FOR MAJOR AGENCY & SUBAGENCY HEADS) *
cortesti -0.176 477 -0.098 895


* LOYALTY-POLICY COMPETENCE (TOPLEVEL DISTINCTION ONLY FOR MAJOR AGENCY HEADS) **
cortesti -0.472 311 -0.385 1061


* LOYALTY-POLICY COMPETENCE (TOPLEVEL2 DISTINCTION FOR MAJOR AGENCY & SUBAGENCY HEADS) *
cortesti -0.523 477 -0.379 895


*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
 

** FIGURE 1A:  DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY ORGANIZATIONAL POSITION: ///
**             TOP-LEVEL VERSUS SUBORDINATE AGENCY LEADERSHIP POSITIONS **
 

ttest zloyalmedian, by(toplevel) unequal welch

 
ttest zloyalmedian, by(toplevel2) unequal welch



ttest zmecompmedian, by(toplevel) unequal welch

ttest zmecompmedian, by(toplevel2) unequal welch


ttest zpecompmedian, by(toplevel) unequal welch

ttest zpecompmedian, by(toplevel2) unequal welch



*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************

  
 
** BY AGENCY DESIGN: [EXEC==1: EXECUTIVE DEPARTMENT, BUREAU, OR INDEPENDENT EXECUTIVE AGENCY; EXEC==0: INDEPENDENT REGULATORY COMMISSION/BOARD **
 
pwcorr  zloyalmedian zmecompmedian zpecompmedian if exec==1, obs sig bonferroni 

pwcorr  zloyalmedian zmecompmedian zpecompmedian if exec==0, obs sig bonferroni 



** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
 

* LOYALTY-MANAGERIAL COMPETENCE *
cortesti -0.1684 860 -0.0688 512


* LOYALTY-POLICY COMPETENCE*
cortesti -0.5174 860 -0.3404 512


*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
 
 

** FIGURE 1B: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY AGENCY DESIGN: ///
**            EXECUTIVE BRANCH DEPARTMENTS & AGENCIES VERSUS INDEPENDENT REGULATORY COMMISSIONS/BOARDS **

 
ttest zloyalmedian, by(exec) unequal welch
 
ttest zmecompmedian, by(exec) unequal welch 

ttest zpecompmedian, by(exec) unequal welch



*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
  



** BY PRESIDENT-AGENCY IDEOLOGICAL CONFIGURATION: [PRESALLYAGENCYIDEOL==1: ALLY AGENCY; PRESALLYAGENCYIDEOL==0 NEUTRAL AGENCY; PRESALLYAGENCYIDEOL==-1: FOE AGENCY **
 
pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==1, obs sig bonferroni 


pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==0, obs sig bonferroni 


pwcorr  zloyalmedian zmecompmedian zpecompmedian if presallyagencyideol==-1, obs sig bonferroni 



** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
 
* LOYALTY-MANAGERIAL COMPETENCE [ALLY AGENCIES VS. FOE AGENCIES] *
cortesti -0.042 468 -0.175 398


* LOYALTY-MANAGERIAL COMPETENCE [ALLY AGENCIES VS. NEUTRAL AGENCIES] *
cortesti -0.042 468 -0.087 411


* LOYALTY-MANAGERIAL COMPETENCE [NEUTRAL AGENCIES VERSUS FOE AGENCIES] *
cortesti -0.087 411 -0.0175 398


* LOYALTY-POLICY COMPETENCE [ALLY AGENCIES VS. FOE AGENCIES] *
cortesti -0.386 468 -0.505 398


* LOYALTY-POLICY COMPETENCE [ALLY AGENCIES VS. NEUTRAL AGENCIES]*
cortesti -0.386  468 -0.413 411



* LOYALTY-POLICY COMPETENCE [NEUTRAL AGENCIES VERSUS FOE AGENCIES] *
cortesti -0.413 411 -0.505 398  



*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
 


** FIGURE 1C: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY PRESIDENT-AGENCY IDEOLOGICAL CONFIGURATION: ///
**            ALLY AGENCIES, NEUTRAL AGENCIES, & FOE AGENCIES **


ttest zloyalmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

ttest zloyalmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

ttest zloyalmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch



ttest zmecompmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

ttest zmecompmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

ttest zmecompmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch



ttest zmecompmedian if presallyagencyideol!=-1, by(presallyagencyideol) unequal welch

ttest zmecompmedian if presallyagencyideol!=0, by(presallyagencyideol) unequal welch

ttest zmecompmedian if presallyagencyideol!=1, by(presallyagencyideol) unequal welch



*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
  

** BY PRESIDENT-SENATE MAJORITY PARTISAN CONFLICT [DIVIDEDPRESSENATE==1 IF PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY OPPOSITE PARTIES; = 0 IF PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY SAME PARTY **
 
pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==1, obs sig bonferroni 

pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==0, obs sig bonferroni 



*** DROPPING OUT HOLDOVER, PLUS RELEVANT FDA [PRE-KESSLER, 1990] AND HCFA/CMS [PRE-ROPER, 1986] ADMINISTRATORS NOT SUBJECT TO SENATE CONFIRMATION ***

pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==1 & holdover==0 & nonsenconfirmed==0, obs sig bonferroni 

pwcorr  zloyalmedian zmecompmedian zpecompmedian if dividedpressenate==0 & holdover==0 & nonsenconfirmed==0, obs sig bonferroni 




** CORRELATIONS DIFFERENCES VIA FISHER R-TO-Z TRANSFORMATIONS **
 

* LOYALTY-MANAGERIAL COMPETENCE (FULL SAMPLE: INCLUDING NON-SENATE CONFIRMED APPOINTEES) *
cortesti -0.148 878 -0.062 494


* LOYALTY-MANAGERIAL COMPETENCE (RESTRICTED SAMPLE: INCLUDING ONLY SENATE CONFIRMED APPOINTEES: OMIT RECESS LONG-TERM APPOINTEES AND NON-SENATE CONFIRMED POSITIONS) *
cortesti -0.1102 825  -0.0456 483


* LOYALTY-POLICY COMPETENCE (FULL SAMPLE: INCLUDING NON-SENATE CONFIRMED APPOINTEES)  **
cortesti -0.469 878 -0.366 494


* LOYALTY-POLICY COMPETENCE (RESTRICTED SAMPLE: INCLUDING ONLY SENATE CONFIRMED APPOINTEES: OMIT RECESS LONG-TERM APPOINTEES AND NON-SENATE CONFIRMED POSITIONS) *
cortesti -0.4444 825 -0.3602 483



*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************
***************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************



** FIGURE 1D: DIFFERENCES IN GROUPED MEAN ANALYSIS OF BUREAUCRATIC LEADERS' LATENT AGENT TRAITS BY PRESIDENT-SENATE MAJORITY PARTISAN CONFLICT: ///
**            PRESIDENT & SENATE MAJORITY ARE CONTROLLED BY OPPOSITE PARTIES VERSUS SAME PARTY **


ttest zloyalmedian, by(dividedpressenate) unequal welch


ttest zmecompmedian, by(dividedpressenate) unequal welch


ttest zpecompmedian, by(dividedpressenate) unequal welch





ttest zloyalmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch


ttest zmecompmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch


ttest zpecompmedian if holdover==0 & nonsenconfirmed==0, by(dividedpressenate) unequal welch




log close 

